Calculate the optimal pitch angle for the lidar to get the shortest distance between the horizontal lines thrown onto the ground / ramp